home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990422-19990725 / 000288_news@columbia.edu _Mon Jul 19 11:55:09 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA16297
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 19 Jul 1999 11:55:05 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id LAA13587
  7.     for kermit.misc@watsun.cc.columbia.edu; Mon, 19 Jul 1999 11:49:43 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: Frank <fhm@Titanica.cc.umanitoba.ca>
  10. Subject: Re: MSKermit with Dospppd
  11. Date: 19 Jul 1999 10:46:39 -0500
  12. Organization: [totally] AWEsomE Software
  13. Message-ID: <7mvh8v$s6$1@Titanica.cc.umanitoba.ca>
  14. To: kermit.misc@columbia.edu
  15.  
  16. Ian <ian@freedomnet.demon.co.uk> wrote:
  17. :> Ive been trying to settup MSKermit 3.15 with the packet driver Dospppd.
  18. :> The object is to connect to my ISP and use this for Telnetting into
  19. :> a Public Lynx. Im connecting but getting no further. What I really
  20. :> need is working sample script that I can adapt. Ive had a look around
  21. :> the Columbia Uni site but so far I havnt found anything promising.
  22.  
  23. Hi Ian,
  24.  
  25.   It sounds like you've got EPPPD to establish a PPP link, but are
  26. having trouble configuring your application, MS-Kermit, properly.
  27. Here are some tips.
  28.  
  29. 1.  It is very helpful to get your network parameters into DOS
  30. environment variables.  For example,
  31.  
  32. set MYIP=<your ip address (probably dynamic)>
  33.  
  34. and perhaps similary for some or all of GATEWAY, NETMASK and MSS.
  35. This is not hard to do with DOSPPP, see its doc's.
  36.  
  37. 2.  When you invoke Kermit, make sure it does NOT "set port com1" (or
  38. whatever com port your modem/ppp is on).  If you do this, Kermit will
  39. try to handle the serial port, fritzing the packet driver that's
  40. already there.  Instead, you need to do "set port tcp/ip" (see next
  41. point).
  42.  
  43. 3.  Configure all the tcp/ip parameters in kermit.  What I do is "take
  44. tcpip.ini" where the configuration file TCPIP.INI contains something
  45. like this (be sure to use your own nameservers and so on):
  46.  
  47. ;=======================================================================
  48. set tcp/ip address \$(MYIP)
  49. set tcp/ip subnetmask 255.255.0.0
  50. set tcp/ip domain cc.umanitoba.ca
  51. set tcp/ip gateway \$(GATEWAY)
  52. set tcp/ip primary-nameserver 130.179.16.67
  53. set tcp/ip secondary-nameserver 130.179.16.8
  54. set tcp/ip broadcast 255.255.255.255
  55. ; MSS would usually be 1448 for PPP
  56. set tcp/ip mss \$(MSS)
  57. set tcp/ip Packet-Driver-interrupt \x60
  58. set tcp/ip newline-mode on
  59. set tcp/ip debug-Options off
  60. set tcp/ip host pollux
  61.  
  62. ; This must *replace* "set port COMn"
  63. set port tcp/ip
  64.  
  65. def session set port tcp \%1, con
  66.  
  67. ; TELNET macro, and macros for telnetting to particular hosts
  68. ; using appropriate terminal type.
  69. ;   \%1 = IP host name or address
  70. ;   \%2 = TCP port (optional, default is 23)
  71. ;   \%3 = terminal type (optional)
  72. ;
  73. define telnet -
  74.   set flow none,-
  75.   set port tcp \%1 \%2,-
  76.   if def \%3 set term type \%3,-
  77.   pause 0, if fail end 1, connect    ; pause  is enough to start connection
  78.  
  79. set window 4
  80.  
  81. echo TCP/IP setup implemented.
  82. ;=======================================================================
  83.  
  84.   Hope this helps,
  85.   Frank